package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加
import java.io.Serializable; //添加

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分级报警设置对象 graded_alarm
 *
 * @author ruoyi
 * @date 2024-11-18
 */
@Data //添加
@TableName("graded_alarm") //添加
public class GradedAlarm extends BaseEntity implements Serializable //修改
        {
private static final long serialVersionUID=1L;

    /** 分级报警设置表id */
 //添加
        @TableId(value = "id", type = IdType.AUTO)
    private String gradedAlarmId;

    /** 报警类型（字典） */
            @Excel(name = "报警类型" , readConverterExp = "字=典")
    private String alarmType;

    /** 报警区域(字典) */
            @Excel(name = "报警区域(字典)")
    private String baseStation;

    /** 传感器类型(字典) */
            @Excel(name = "传感器类型(字典)")
    private String sensorType;

    /** 系统类型(字典) */
            @Excel(name = "系统类型(字典)")
    private String systemType;

    /** 监测阈值 */
            @Excel(name = "监测阈值")
    private String monitoringThreshold;

    /** 报警持续时长 */
            @Excel(name = "报警持续时长")
    private String alarmDuration;

    /** 报警等级（字典） */
            @Excel(name = "报警等级" , readConverterExp = "字=典")
    private String alarmLevel;

    /** 广播内容 */
            @Excel(name = "广播内容")
    private String broadcastContent;

    /** 应急预案id */
            @Excel(name = "应急预案id")
    private String emergencyplanId;

    /** 备用字段1 */
    private String one;

    /** 备用字段2 */
    private String two;

    /** 备用字段3 */
    private String three;

        }

